package com.lx.day0328;

/**
 * @author c先生
 * @date 2022年03月28日 下午 6:56:42
 * @describe
 */

public class Student {
    int id;
    String name;
    String banji;
    int age;
    String sex;
    int grade;

    public Student() {
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", banji='" + banji + '\'' +
                ", age=" + age +
                ", sex='" + sex + '\'' +
                ", grade=" + grade +
                '}';
    }

    public Student(int id, String name, String banji, int age, String sex, int grade) {
        this.id = id;
        this.name = name;
        this.banji = banji;
        this.age = age;
        this.sex = sex;
        this.grade = grade;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBanji() {
        return banji;
    }

    public void setBanji(String banji) {
        this.banji = banji;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getGrade() {
        return grade;
    }

    public void setGrade(int grade) {
        this.grade = grade;
    }
}
